Skip to content

Conversation

yerke
Copy link
Contributor

@yerke yerke commented Jun 16, 2021

Add regression test for issue #37508

Closes #37508

Took this test from #37508 and updated the panic handler to the modern standard.

r? @Mark-Simulacrum

Mark, I hope you don't me tagging you here. You were involved in the original issue and I hope you might be more comfortable reviewing this.

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jun 16, 2021
@yerke
Copy link
Contributor Author

yerke commented Jun 16, 2021

@JohnTitor Thanks for taking a look. Any suggestions on how to approach this?

@JohnTitor
Copy link
Member

You should add // only-x86_64 to the test because -Ccode-model=large may not work on the other platforms, and the llvm-asm dir is for llvm_asm! macro so you should also move it to the panics dir or something else.

@yerke yerke force-pushed the add-test-for-issue-37508 branch from 9737c32 to 5d1a516 Compare June 16, 2021 19:26
@yerke
Copy link
Contributor Author

yerke commented Jun 16, 2021

@JohnTitor Thanks for the advice. Done.

@yerke yerke force-pushed the add-test-for-issue-37508 branch from 5d1a516 to a89c7e1 Compare June 17, 2021 01:45
@Mark-Simulacrum
Copy link
Member

@bors r+ rollup=iffy

Past attempts to add tests here weren't particularly successful.

@bors
Copy link
Collaborator

bors commented Jun 21, 2021

📌 Commit a89c7e1 has been approved by Mark-Simulacrum

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jun 21, 2021
fee1-dead added a commit to fee1-dead-contrib/rust that referenced this pull request Jun 22, 2021
…ark-Simulacrum

Add regression test for issue rust-lang#37508

Add regression test for issue rust-lang#37508

Closes rust-lang#37508

Took this test from rust-lang#37508 and updated the panic handler to the modern standard.

r? `@Mark-Simulacrum`

Mark, I hope you don't me tagging you here. You were involved in the original issue and I hope you might be more comfortable reviewing this.
@bors
Copy link
Collaborator

bors commented Jun 22, 2021

⌛ Testing commit a89c7e1 with merge c38111c...

@bors
Copy link
Collaborator

bors commented Jun 22, 2021

☀️ Test successful - checks-actions
Approved by: Mark-Simulacrum
Pushing c38111c to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Jun 22, 2021
@bors bors merged commit c38111c into rust-lang:master Jun 22, 2021
@rustbot rustbot added this to the 1.55.0 milestone Jun 22, 2021
@yerke yerke deleted the add-test-for-issue-37508 branch June 22, 2021 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error with -C code-model=large and thread locals
6 participants